package com.agrimall.entity;

import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 商品实体类
 */
@Data
public class Product {
    private Long productId;
    private Long merchantId;
    private String productName;
    private String category;
    private String description;
    private BigDecimal price;
    private Integer stock;
    private String imageUrl;
    private Integer status; // 0-下架，1-上架，-1-已删除（逻辑删除）
    private Date createTime;
    private Date updateTime;
}



